# 参考文档地址
http://xijia.plus/部署/管理端部署.html

# 项目名
export PROJECT_NAME=xijia-plus-manage

# 提前创建挂载文件
docker cp base-nginx:/etc/nginx/ /workspace/$PROJECT_NAME
docker cp base-nginx:/usr/share/nginx/html /workspace/$PROJECT_NAME

# 创建容器
docker run --name $PROJECT_NAME \
-p 9000:80 \
-v /workspace/$PROJECT_NAME/nginx:/etc/nginx \
-v /workspace/$PROJECT_NAME/html:/usr/share/nginx/html \
-v /workspace/$PROJECT_NAME/log:/var/log/nginx \
-d nginx:1.23.2